home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
MrmRegisterClass.z
/
MrmRegisterClass
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss - Saves the information needed for MRM to
access the widget creation function for user-defined widgets
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Mrm/MrmPublic.h>
CCCCaaaarrrrddddiiiinnnnaaaallll MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss(
MMMMrrrrmmmmTTTTyyyyppppeeee ccccllllaaaassssssss____ccccooooddddeeee,
SSSSttttrrrriiiinnnngggg ccccllllaaaassssssss____nnnnaaaammmmeeee,
SSSSttttrrrriiiinnnngggg ccccrrrreeeeaaaatttteeee____nnnnaaaammmmeeee,
WWWWiiiiddddggggeeeetttt ((((****ccccrrrreeeeaaaatttteeee____pppprrrroooocccc) (),
WWWWiiiiddddggggeeeettttCCCCllllaaaassssssss ccccllllaaaassssssss____rrrreeeeccccoooorrrrdddd);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssssfunction allows MRM to access user-
defined widget classes. This function registers the
necessary information for MRM to create widgets of this
class. You must call MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssssprior to fetching any
user-defined class widget.
MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaasssssssssaves the information needed to access the
widget creation function and to do type conversion of
argument lists by using the information in MRM databases.
_c_l_a_s_s__c_o_d_e
This argument is ignored; it is present for
compatibility with previous releases.
ccccllllaaaassssssss____nnnnaaaammmmeeee
This argument is ignored; it is present for
compatibility with previous releases.
_c_r_e_a_t_e__n_a_m_e
Specifies the case-sensitive name of the low-level
widget creation function for the class. An
example from the Motif Toolkit is XXXXmmmmCCCCrrrreeeeaaaatttteeeeLLLLaaaabbbbeeeellll.
Arguments are _p_a_r_e_n_t__w_i_d_g_e_t, _n_a_m_e,
_o_v_e_r_r_i_d_e__a_r_g_l_i_s_t, and _o_v_e_r_r_i_d_e__a_r_g_c_o_u_n_t.
For user-defined widgets, _c_r_e_a_t_e__n_a_m_eis the
creation procedure in the UIL that defines this
widget.
ccccrrrreeeeaaaatttteeee____pppprrrroooocccc
Specifies the address of the creation function
that you named in _c_r_e_a_t_e__n_a_m_e.
_c_l_a_s_s__r_e_c_o_r_d
Specifies a pointer to the class record.
Page 1 (printed 10/24/98)
MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV MMMMrrrrmmmmRRRReeeeggggiiiisssstttteeeerrrrCCCCllllaaaassssssss((((3333XXXX))))
RRRREEEETTTTUUUURRRRNNNN
This function returns one of the following status return
constants:
MMMMrrrrmmmmSSSSUUUUCCCCCCCCEEEESSSSSSSS
The function executed successfully.
MMMMrrrrmmmmFFFFAAAAIIIILLLLUUUURRRREEEE
The function failed.
Page 2 (printed 10/24/98)